   <style type="text/css">
     .form-reason{display:none;}
   </style>
    <form action="" method="POST" id="myform">
      {{csrf_field()}}
        <div class="box-body">
              <div class="form-group">
                <label>亲友圈状态：</label>
                <label>
                  <input type="radio" name="open_circle" class="minimal radio" @if($agent->open_circle == 1) checked @endif value="1"> 开启
                </label>
                <label>
                  <input type="radio" name="open_circle" class="minimal-red radio" @if($agent->open_circle == 0) checked @endif value="0"> 关闭
                </label>
              </div>
              <span style="color:red" id="err_open_circle"></span>

              <div class="form-group">
                <label>分成比例：</label>
                <input type="number" name="circle_divide" min="0" max="100" class="form-control" placeholder="请输入推广员分成比例（整数）" value="{{$agent->circle_divide}}">
              </div>
              <span style="color:red" id="err_circle_divide"></span>

        </div>
    </form>
    <script type="text/javascript">
        //iCheck for checkbox and radio inputs
        $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
          checkboxClass: 'icheckbox_minimal-blue',
          radioClass: 'iradio_minimal-blue'
        });
        //Red color scheme for iCheck
        $('input[type="checkbox"].minimal-red, input[type="radio"].minimal-red').iCheck({
          checkboxClass: 'icheckbox_minimal-red',
          radioClass: 'iradio_minimal-red'
        });
    </script>